﻿using System;

namespace Foothill.Model
{
    public class UploadPhoto
    {
        public int PhotoId { set; get; }

        public string OriginalName { set; get; }
        
        public string PathOnServer { set; get; }    
              
        public int PhotoSize { set; get; }
        
        private DateTime _uploadDateTime = DateTime.Now;
        
        public DateTime UploadDateTime
        {
            set 
            { 
                _uploadDateTime = value; 
            }
            
            get 
            { 
                return _uploadDateTime;  
            } 
        }
        
        public int AdId { set; get; }
        
        public int AdTypeId { set; get; }
        
        public int DisplayIndex { set; get; }
    }
}
